package com.killer.service.code;

import com.killer.pojo.AuthCode;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ：Killer
 * @date ：Created in 20-12-31 下午3:43
 * @description：${description}
 * @modified By：
 * @version: version
 */
public interface CodeService {

    /**
     * 生成验证码
     */
    public void generateCode(String email);


    Integer validateCode(@PathVariable String email, @PathVariable String code);
}
